//栏目相关的方法
import axios from "@/utils/request.js";
//获取栏目信息
export const getCateList = () => {
  return axios({
    url: '/category',
  });
}

//添加栏目
export const addCateList = (data) => {
  return axios({
    method: 'post',
    url: '/category',
    data
  });
}